/**
 * Created by Administrator on 2016/8/5.
 */
$(function () {
    var a=true;
    $('.check').click(function () {
        if(a) {
            $('.check').css('background-position', '-24px 0');
            a = false;
        }else{
            $('.check').css('background-position', '-48.5px 0');
            a=true;
        }
    })
    $('.other-router p:nth-of-type(2) a:nth-of-type(1)').mouseover(function () {
        $('.other-router p:nth-of-type(2) a:nth-of-type(1)').css('background-position', '-116px -304px');
    })
    $('.other-router p:nth-of-type(2) a:nth-of-type(1)').mouseout(function () {
        $('.other-router p:nth-of-type(2) a:nth-of-type(1)').css('background-position', '-145px -304px');
    })

    $('.other-router p:nth-of-type(2) a:nth-of-type(2)').mouseover(function () {
        $('.other-router p:nth-of-type(2) a:nth-of-type(2)').css('background-position', '-58px -304px');
    })
    $('.other-router p:nth-of-type(2) a:nth-of-type(2)').mouseout(function () {
        $('.other-router p:nth-of-type(2) a:nth-of-type(2)').css('background-position', '-88px -304px');
    })
    $('.other-router p:nth-of-type(2) a:nth-of-type(3)').mouseover(function () {
        $('.other-router p:nth-of-type(2) a:nth-of-type(3)').css('background-position', '0 -304px');
    })
    $('.other-router p:nth-of-type(2) a:nth-of-type(3)').mouseout(function () {
        $('.other-router p:nth-of-type(2) a:nth-of-type(3)').css('background-position', '-29.5px -304px');
    })
    $('.other-router p:nth-of-type(2) a:nth-of-type(4)').mouseover(function () {
        $('.other-router p:nth-of-type(2) a:nth-of-type(4)').css('background-position', '-175px -304px');
    })
    $('.other-router p:nth-of-type(2) a:nth-of-type(4)').mouseout(function () {
        $('.other-router p:nth-of-type(2) a:nth-of-type(4)').css('background-position', '-203px -304px');
    })

    $('.body-foot-a').mouseover(function () {
        $(this).css('color','#f10180');
    })
    $('.body-foot-a').mouseout(function () {
        $(this).css('color','#666');
    })
    $('.link-more').mouseover(function () {
        $(this).css('color','#f10180');
    })
    $('.link-more').mouseout(function () {
        $(this).css('color','#666');
    })


    var b=true;
    $('.link-more').click(function () {
        if(b){
            $(this).addClass('dropup');
            $('.other-link').css('display','block');
            b=false;
        }else{
            $(this).removeClass('dropup');
            $('.other-link').css('display','none');
            b=true;
        }
    })





})